#pragma once

#include "../umlmodel_global.h"

#include "ControlNode.h"

namespace uml {

/// <summary>
/// ForkNode
/// A ForkNode is a ControlNode that splits a flow into multiple concurrent flows.
/// </summary>
class UMLMODEL_EXPORT ForkNode : public ControlNode {

public: // Constructors and destructors
    explicit ForkNode(const QString& umlType="uml::ForkNode");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
